<template>
	<div>
		<mt-swipe :auto="4000">
			<mt-swipe-item v-for="item in lunbutu" :key="item.url"><img :src="item.href" alt=""></mt-swipe-item>
		
		</mt-swipe>
		
	</div>
</template>
<script>
	export default{
		data:function(){
			return {
				lunbutu:[]
			}
		},
		methods:{
			getLunbotu(){
				this.$http.get("http://127.0.0.1:9988/login").then(reslut=>{
					console.log(reslut)
					this.lunbutu=reslut.body.message
				})
			}
		},
		created(){
			this.getLunbotu()
		}
	}
</script>
<style lang="scss" scoped>
.mint-swipe{
	height: 300px;
	img{
		height: 100%;
		width: 100%;
	}
}
</style>
